package com.yy.jhl.ui.manager.contract;

import com.yy.common.base.BasePresenter;
import com.yy.common.base.BaseView;
import com.yy.jhl.bean.FunctionInfo;
import com.yy.jhl.bean.ProjectInfo;
import com.yy.jhl.bean.UpdateInfo;

/**
 * Created by Ellis.Li on 2017/5/8.
 */
public interface FunctionContract {
    interface View extends BaseView {
        void getSuccess(FunctionInfo projectInfo);
        void getUpdateApkSuccess(boolean isShow,UpdateInfo projectInfo);
        void getFail();
    }
    abstract static class Presenter extends BasePresenter<View> {
        public abstract void getList(String versionName);
        public abstract void updateApk(boolean isShow);
    }
}
